$(function () {
    alert("userList.js");
    $("#dg").datagrid({
        url: 'getUserAction.action',
        closable: true,
        checkOnSelect: true,
        striped: true,
        rownumbers: true,
        'toolbar': '',
        fitColumns: true,
        loadFilter: function (data) {
            var data_ = {
                "rows": data.resultList,  //行数据
                "total": data.totalSize   //总记录数
            }
            $("#dom_var_pagination").pagination({
                total: data.totalSize
            });
            return data_;
        }
    });
});